package com.leesche.zcsp.node.web.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PubDiscountCodeCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PubDiscountCodeCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDiscountcodeidIsNull() {
            addCriterion("discountCodeId is null");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidIsNotNull() {
            addCriterion("discountCodeId is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidEqualTo(Long value) {
            addCriterion("discountCodeId =", value, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidNotEqualTo(Long value) {
            addCriterion("discountCodeId <>", value, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidGreaterThan(Long value) {
            addCriterion("discountCodeId >", value, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidGreaterThanOrEqualTo(Long value) {
            addCriterion("discountCodeId >=", value, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidLessThan(Long value) {
            addCriterion("discountCodeId <", value, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidLessThanOrEqualTo(Long value) {
            addCriterion("discountCodeId <=", value, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidIn(List<Long> values) {
            addCriterion("discountCodeId in", values, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidNotIn(List<Long> values) {
            addCriterion("discountCodeId not in", values, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidBetween(Long value1, Long value2) {
            addCriterion("discountCodeId between", value1, value2, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeidNotBetween(Long value1, Long value2) {
            addCriterion("discountCodeId not between", value1, value2, "discountcodeid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNull() {
            addCriterion("DeviceID is null");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNotNull() {
            addCriterion("DeviceID is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceidEqualTo(Long value) {
            addCriterion("DeviceID =", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotEqualTo(Long value) {
            addCriterion("DeviceID <>", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThan(Long value) {
            addCriterion("DeviceID >", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThanOrEqualTo(Long value) {
            addCriterion("DeviceID >=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThan(Long value) {
            addCriterion("DeviceID <", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThanOrEqualTo(Long value) {
            addCriterion("DeviceID <=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIn(List<Long> values) {
            addCriterion("DeviceID in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotIn(List<Long> values) {
            addCriterion("DeviceID not in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidBetween(Long value1, Long value2) {
            addCriterion("DeviceID between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotBetween(Long value1, Long value2) {
            addCriterion("DeviceID not between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeIsNull() {
            addCriterion("disCountCode is null");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeIsNotNull() {
            addCriterion("disCountCode is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeEqualTo(String value) {
            addCriterion("disCountCode =", value, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeNotEqualTo(String value) {
            addCriterion("disCountCode <>", value, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeGreaterThan(String value) {
            addCriterion("disCountCode >", value, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeGreaterThanOrEqualTo(String value) {
            addCriterion("disCountCode >=", value, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeLessThan(String value) {
            addCriterion("disCountCode <", value, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeLessThanOrEqualTo(String value) {
            addCriterion("disCountCode <=", value, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeLike(String value) {
            addCriterion("disCountCode like", value, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeNotLike(String value) {
            addCriterion("disCountCode not like", value, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeIn(List<String> values) {
            addCriterion("disCountCode in", values, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeNotIn(List<String> values) {
            addCriterion("disCountCode not in", values, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeBetween(String value1, String value2) {
            addCriterion("disCountCode between", value1, value2, "discountcode");
            return (Criteria) this;
        }

        public Criteria andDiscountcodeNotBetween(String value1, String value2) {
            addCriterion("disCountCode not between", value1, value2, "discountcode");
            return (Criteria) this;
        }

        public Criteria andCoinIsNull() {
            addCriterion("Coin is null");
            return (Criteria) this;
        }

        public Criteria andCoinIsNotNull() {
            addCriterion("Coin is not null");
            return (Criteria) this;
        }

        public Criteria andCoinEqualTo(Integer value) {
            addCriterion("Coin =", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinNotEqualTo(Integer value) {
            addCriterion("Coin <>", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinGreaterThan(Integer value) {
            addCriterion("Coin >", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinGreaterThanOrEqualTo(Integer value) {
            addCriterion("Coin >=", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinLessThan(Integer value) {
            addCriterion("Coin <", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinLessThanOrEqualTo(Integer value) {
            addCriterion("Coin <=", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinIn(List<Integer> values) {
            addCriterion("Coin in", values, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinNotIn(List<Integer> values) {
            addCriterion("Coin not in", values, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinBetween(Integer value1, Integer value2) {
            addCriterion("Coin between", value1, value2, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinNotBetween(Integer value1, Integer value2) {
            addCriterion("Coin not between", value1, value2, "coin");
            return (Criteria) this;
        }

        public Criteria andCodestateIsNull() {
            addCriterion("codeState is null");
            return (Criteria) this;
        }

        public Criteria andCodestateIsNotNull() {
            addCriterion("codeState is not null");
            return (Criteria) this;
        }

        public Criteria andCodestateEqualTo(Integer value) {
            addCriterion("codeState =", value, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateNotEqualTo(Integer value) {
            addCriterion("codeState <>", value, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateGreaterThan(Integer value) {
            addCriterion("codeState >", value, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateGreaterThanOrEqualTo(Integer value) {
            addCriterion("codeState >=", value, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateLessThan(Integer value) {
            addCriterion("codeState <", value, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateLessThanOrEqualTo(Integer value) {
            addCriterion("codeState <=", value, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateIn(List<Integer> values) {
            addCriterion("codeState in", values, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateNotIn(List<Integer> values) {
            addCriterion("codeState not in", values, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateBetween(Integer value1, Integer value2) {
            addCriterion("codeState between", value1, value2, "codestate");
            return (Criteria) this;
        }

        public Criteria andCodestateNotBetween(Integer value1, Integer value2) {
            addCriterion("codeState not between", value1, value2, "codestate");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNull() {
            addCriterion("OpenID is null");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNotNull() {
            addCriterion("OpenID is not null");
            return (Criteria) this;
        }

        public Criteria andOpenidEqualTo(String value) {
            addCriterion("OpenID =", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotEqualTo(String value) {
            addCriterion("OpenID <>", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThan(String value) {
            addCriterion("OpenID >", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("OpenID >=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThan(String value) {
            addCriterion("OpenID <", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThanOrEqualTo(String value) {
            addCriterion("OpenID <=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLike(String value) {
            addCriterion("OpenID like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotLike(String value) {
            addCriterion("OpenID not like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidIn(List<String> values) {
            addCriterion("OpenID in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotIn(List<String> values) {
            addCriterion("OpenID not in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidBetween(String value1, String value2) {
            addCriterion("OpenID between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotBetween(String value1, String value2) {
            addCriterion("OpenID not between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andIntdata1IsNull() {
            addCriterion("intData1 is null");
            return (Criteria) this;
        }

        public Criteria andIntdata1IsNotNull() {
            addCriterion("intData1 is not null");
            return (Criteria) this;
        }

        public Criteria andIntdata1EqualTo(Integer value) {
            addCriterion("intData1 =", value, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1NotEqualTo(Integer value) {
            addCriterion("intData1 <>", value, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1GreaterThan(Integer value) {
            addCriterion("intData1 >", value, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1GreaterThanOrEqualTo(Integer value) {
            addCriterion("intData1 >=", value, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1LessThan(Integer value) {
            addCriterion("intData1 <", value, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1LessThanOrEqualTo(Integer value) {
            addCriterion("intData1 <=", value, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1In(List<Integer> values) {
            addCriterion("intData1 in", values, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1NotIn(List<Integer> values) {
            addCriterion("intData1 not in", values, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1Between(Integer value1, Integer value2) {
            addCriterion("intData1 between", value1, value2, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata1NotBetween(Integer value1, Integer value2) {
            addCriterion("intData1 not between", value1, value2, "intdata1");
            return (Criteria) this;
        }

        public Criteria andIntdata2IsNull() {
            addCriterion("intData2 is null");
            return (Criteria) this;
        }

        public Criteria andIntdata2IsNotNull() {
            addCriterion("intData2 is not null");
            return (Criteria) this;
        }

        public Criteria andIntdata2EqualTo(Integer value) {
            addCriterion("intData2 =", value, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2NotEqualTo(Integer value) {
            addCriterion("intData2 <>", value, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2GreaterThan(Integer value) {
            addCriterion("intData2 >", value, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2GreaterThanOrEqualTo(Integer value) {
            addCriterion("intData2 >=", value, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2LessThan(Integer value) {
            addCriterion("intData2 <", value, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2LessThanOrEqualTo(Integer value) {
            addCriterion("intData2 <=", value, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2In(List<Integer> values) {
            addCriterion("intData2 in", values, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2NotIn(List<Integer> values) {
            addCriterion("intData2 not in", values, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2Between(Integer value1, Integer value2) {
            addCriterion("intData2 between", value1, value2, "intdata2");
            return (Criteria) this;
        }

        public Criteria andIntdata2NotBetween(Integer value1, Integer value2) {
            addCriterion("intData2 not between", value1, value2, "intdata2");
            return (Criteria) this;
        }

        public Criteria andSdata3IsNull() {
            addCriterion("sData3 is null");
            return (Criteria) this;
        }

        public Criteria andSdata3IsNotNull() {
            addCriterion("sData3 is not null");
            return (Criteria) this;
        }

        public Criteria andSdata3EqualTo(String value) {
            addCriterion("sData3 =", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3NotEqualTo(String value) {
            addCriterion("sData3 <>", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3GreaterThan(String value) {
            addCriterion("sData3 >", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3GreaterThanOrEqualTo(String value) {
            addCriterion("sData3 >=", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3LessThan(String value) {
            addCriterion("sData3 <", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3LessThanOrEqualTo(String value) {
            addCriterion("sData3 <=", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3Like(String value) {
            addCriterion("sData3 like", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3NotLike(String value) {
            addCriterion("sData3 not like", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3In(List<String> values) {
            addCriterion("sData3 in", values, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3NotIn(List<String> values) {
            addCriterion("sData3 not in", values, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3Between(String value1, String value2) {
            addCriterion("sData3 between", value1, value2, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3NotBetween(String value1, String value2) {
            addCriterion("sData3 not between", value1, value2, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata4IsNull() {
            addCriterion("sData4 is null");
            return (Criteria) this;
        }

        public Criteria andSdata4IsNotNull() {
            addCriterion("sData4 is not null");
            return (Criteria) this;
        }

        public Criteria andSdata4EqualTo(String value) {
            addCriterion("sData4 =", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4NotEqualTo(String value) {
            addCriterion("sData4 <>", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4GreaterThan(String value) {
            addCriterion("sData4 >", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4GreaterThanOrEqualTo(String value) {
            addCriterion("sData4 >=", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4LessThan(String value) {
            addCriterion("sData4 <", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4LessThanOrEqualTo(String value) {
            addCriterion("sData4 <=", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4Like(String value) {
            addCriterion("sData4 like", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4NotLike(String value) {
            addCriterion("sData4 not like", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4In(List<String> values) {
            addCriterion("sData4 in", values, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4NotIn(List<String> values) {
            addCriterion("sData4 not in", values, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4Between(String value1, String value2) {
            addCriterion("sData4 between", value1, value2, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4NotBetween(String value1, String value2) {
            addCriterion("sData4 not between", value1, value2, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata5IsNull() {
            addCriterion("sData5 is null");
            return (Criteria) this;
        }

        public Criteria andSdata5IsNotNull() {
            addCriterion("sData5 is not null");
            return (Criteria) this;
        }

        public Criteria andSdata5EqualTo(String value) {
            addCriterion("sData5 =", value, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5NotEqualTo(String value) {
            addCriterion("sData5 <>", value, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5GreaterThan(String value) {
            addCriterion("sData5 >", value, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5GreaterThanOrEqualTo(String value) {
            addCriterion("sData5 >=", value, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5LessThan(String value) {
            addCriterion("sData5 <", value, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5LessThanOrEqualTo(String value) {
            addCriterion("sData5 <=", value, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5Like(String value) {
            addCriterion("sData5 like", value, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5NotLike(String value) {
            addCriterion("sData5 not like", value, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5In(List<String> values) {
            addCriterion("sData5 in", values, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5NotIn(List<String> values) {
            addCriterion("sData5 not in", values, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5Between(String value1, String value2) {
            addCriterion("sData5 between", value1, value2, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata5NotBetween(String value1, String value2) {
            addCriterion("sData5 not between", value1, value2, "sdata5");
            return (Criteria) this;
        }

        public Criteria andSdata6IsNull() {
            addCriterion("sData6 is null");
            return (Criteria) this;
        }

        public Criteria andSdata6IsNotNull() {
            addCriterion("sData6 is not null");
            return (Criteria) this;
        }

        public Criteria andSdata6EqualTo(String value) {
            addCriterion("sData6 =", value, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6NotEqualTo(String value) {
            addCriterion("sData6 <>", value, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6GreaterThan(String value) {
            addCriterion("sData6 >", value, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6GreaterThanOrEqualTo(String value) {
            addCriterion("sData6 >=", value, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6LessThan(String value) {
            addCriterion("sData6 <", value, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6LessThanOrEqualTo(String value) {
            addCriterion("sData6 <=", value, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6Like(String value) {
            addCriterion("sData6 like", value, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6NotLike(String value) {
            addCriterion("sData6 not like", value, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6In(List<String> values) {
            addCriterion("sData6 in", values, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6NotIn(List<String> values) {
            addCriterion("sData6 not in", values, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6Between(String value1, String value2) {
            addCriterion("sData6 between", value1, value2, "sdata6");
            return (Criteria) this;
        }

        public Criteria andSdata6NotBetween(String value1, String value2) {
            addCriterion("sData6 not between", value1, value2, "sdata6");
            return (Criteria) this;
        }

        public Criteria andIntimeIsNull() {
            addCriterion("inTime is null");
            return (Criteria) this;
        }

        public Criteria andIntimeIsNotNull() {
            addCriterion("inTime is not null");
            return (Criteria) this;
        }

        public Criteria andIntimeEqualTo(Date value) {
            addCriterion("inTime =", value, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeNotEqualTo(Date value) {
            addCriterion("inTime <>", value, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeGreaterThan(Date value) {
            addCriterion("inTime >", value, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeGreaterThanOrEqualTo(Date value) {
            addCriterion("inTime >=", value, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeLessThan(Date value) {
            addCriterion("inTime <", value, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeLessThanOrEqualTo(Date value) {
            addCriterion("inTime <=", value, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeIn(List<Date> values) {
            addCriterion("inTime in", values, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeNotIn(List<Date> values) {
            addCriterion("inTime not in", values, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeBetween(Date value1, Date value2) {
            addCriterion("inTime between", value1, value2, "intime");
            return (Criteria) this;
        }

        public Criteria andIntimeNotBetween(Date value1, Date value2) {
            addCriterion("inTime not between", value1, value2, "intime");
            return (Criteria) this;
        }

        public Criteria andOuttimeIsNull() {
            addCriterion("OutTime is null");
            return (Criteria) this;
        }

        public Criteria andOuttimeIsNotNull() {
            addCriterion("OutTime is not null");
            return (Criteria) this;
        }

        public Criteria andOuttimeEqualTo(Date value) {
            addCriterion("OutTime =", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotEqualTo(Date value) {
            addCriterion("OutTime <>", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeGreaterThan(Date value) {
            addCriterion("OutTime >", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("OutTime >=", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLessThan(Date value) {
            addCriterion("OutTime <", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLessThanOrEqualTo(Date value) {
            addCriterion("OutTime <=", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeIn(List<Date> values) {
            addCriterion("OutTime in", values, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotIn(List<Date> values) {
            addCriterion("OutTime not in", values, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeBetween(Date value1, Date value2) {
            addCriterion("OutTime between", value1, value2, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotBetween(Date value1, Date value2) {
            addCriterion("OutTime not between", value1, value2, "outtime");
            return (Criteria) this;
        }

        public Criteria andAdminidIsNull() {
            addCriterion("AdminID is null");
            return (Criteria) this;
        }

        public Criteria andAdminidIsNotNull() {
            addCriterion("AdminID is not null");
            return (Criteria) this;
        }

        public Criteria andAdminidEqualTo(Long value) {
            addCriterion("AdminID =", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotEqualTo(Long value) {
            addCriterion("AdminID <>", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidGreaterThan(Long value) {
            addCriterion("AdminID >", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidGreaterThanOrEqualTo(Long value) {
            addCriterion("AdminID >=", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidLessThan(Long value) {
            addCriterion("AdminID <", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidLessThanOrEqualTo(Long value) {
            addCriterion("AdminID <=", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidIn(List<Long> values) {
            addCriterion("AdminID in", values, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotIn(List<Long> values) {
            addCriterion("AdminID not in", values, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidBetween(Long value1, Long value2) {
            addCriterion("AdminID between", value1, value2, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotBetween(Long value1, Long value2) {
            addCriterion("AdminID not between", value1, value2, "adminid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}